Repair of Boolean Programs with an Application to C
نویسندگان
چکیده
We show how to find and fix faults in Boolean programs by extending the program to a game. In the game, the protagonist can select an alternative implementation for an incorrect statement. If the protagonist can do so successfully using a memoryless strategy that does not depend on the stack contents, we have found a correction for the Boolean program. We present a symbolic algorithm that localizes possibly faulty statements and provides corrections. If the Boolean program is an abstraction of a C program, the repair for the Boolean program suggests a repair for the original C program. This yields a correct but incomplete approach to repairing C programs. We have applied this approach to Boolean programs that are produced as abstractions by SLAM and have thus successfully patched several faulty Windows device drivers.
منابع مشابه
Electrospun Nanofibers and their Application in Tissue Repair and Engineering
Introduction: Tissue engineering is the repair and replacement of damaged tissues and requires a combination of cells, growth factor and porous scaffolds. Scaffolds, as one of the main components in tissue engineering, are used as a template for tissue regeneration and induction and guidance of growth of the new and biologically active tissues. An ideal scaffold in tissue engineering, imitating...
متن کاملAn Extension to the Economic Production Quantity Problem with Deteriorating Products Considering Random Machine Breakdown and Stochastic Repair Time
The recent advances in manufacturing systems motivate several studies to focus on Economic Production Quantity (EPQ) problem. Althuogh there are several extentions to the EPQ, this paper provides a new extension by considering some of the real world parameters like: (a) shortages in the form of partial backordering, (b) inventory can deteriorate stochastically, (c) machine can break down stocha...
متن کاملOn some classes of expansions of ideals in $MV$-algebras
In this paper, we introduce the notions of expansion of ideals in $MV$-algebras, $ (tau,sigma)- $primary, $ (tau,sigma)$-obstinate and $ (tau,sigma)$-Boolean in $ MV- $algebras. We investigate the relations of them. For example, we show that every $ (tau,sigma)$-obstinate ideal of an $ MV-$ algebra is $ (tau,sigma)$-primary and $ (tau,sigma)$-Boolean. In particular, we define an expansion $ ...
متن کاملApplication of fuzzy and Boolean methods in prioritizing indicators for assessing the stability of nomadic rangelands (Robat Sarvestan Rangelands, Fars Province)
The increasing growth of human population and the number of livestock and wasteful has led to a rise in the trend of land degradation in the last few decades. Identifying the factors of destruction and sustainability of Rangelands is one of the first steps in reforming the exploitation of these resources and rehabilitating them. hence This study was done on the necessity of analysis and evaluat...
متن کاملRepairing Decision-Making Programs Under Uncertainty
The world is uncertain. Programs can be wrong. We address the problem of repairing a program under uncertainty, where program inputs are drawn from a probability distribution. The goal of the repair is to construct a new program that satisfies a probabilistic Boolean expression. Our work focuses on loop-free decision-making programs, e.g., classifiers, that return a Booleanor finite-valued resu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006